package com.xyoto.takeawayBusiness.enums;

/**
 * 商户用户枚举类
 *
 * @author Administrator
 */
public enum UserShopEnum implements Code {

    USER_INFO_NOT_EXIST(6001, "用户信息不存在"),
    SAVE_USER_SHOP_ERROR(6002, "新增用户失败"),
    FIND_USER_SHOP_ERROR(6003,"查询商铺数量异常"),
    SHOP_ID_INFO_ERROR(6004,"传输商铺id异常"),
    USER_AUDIT_STATUS_ERROR(4003,"用户未得到授权登录")
    ;

    private int code;
    private String msg;

    UserShopEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }

}
